package com.ruoyi.car.controller.admin.category.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @Author：流冬
 * @Package：com.ruoyi.car.controller.admin.category.vo
 * @Project：RuoYi-Vue
 * @name：CarCategoryAddReq
 * @Date：2023/6/5 20:18
 * @Filename：CarCategoryAddReq
 * @Description
 */
@Getter
@Setter
public class CarCategoryAddReq {

    /**
     * 分类名称
     */
    @ApiModelProperty(value = "名称")
    @NotBlank(message = "名称不能为空")
    private String name;

    /**
     * 分类编码
     */
    @ApiModelProperty(value = "编码")
    @NotBlank(message = "编码不能为空")
    private String code;
}
